//
//  FPUserIdentifierCardInfoModel.h
//  FinanceProject
//
//  Created by 陈显摆 on 2025/2/5.
//

#import <JSONModel/JSONModel.h>

NS_ASSUME_NONNULL_BEGIN

@interface FPUserIdentifierCardInfoModel : JSONModel

@property (nonatomic , strong) NSString *code;
@property (nonatomic , strong) NSString *message;
@property (nonatomic , strong) NSString *realname;
@property (nonatomic , strong) NSString *idNumber;



+ (void)getInfoWithIDCardURL:(NSString *)url success:(void (^)(NSInteger code , NSString *message , FPUserIdentifierCardInfoModel *model))success failure:(void (^)(NSError *error))failure;

+ (void)duplicateIdentifierWithIDCardNumber:(NSString *)number success:(void (^)(NSInteger code , NSString *message , BOOL duplicate, BOOL ageEnough, NSString *duplicatePhoneNumber))success failure:(void (^)(NSError *error))failure;

@end

NS_ASSUME_NONNULL_END
